"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.methods = exports.load = void 0;
const fs_extra_1 = __importDefault(require("fs-extra"));
const config_1 = __importDefault(require("./config"));
const path_1 = __importDefault(require("path"));
function load() {
    // 如果不存在配置文件则创建
    if (!fs_extra_1.default.existsSync(config_1.default.copy_config_path_s)) {
        fs_extra_1.default.copyFileSync(path_1.default.join(config_1.default.resources_path_s, ".config.js"), config_1.default.copy_config_path_s);
    }
}
exports.load = load;
// export function unload() {}
exports.methods = {};
